﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Sustainalytics.Entities
{
    public class GovernancePerformance
    {
        public int GroupCount { get; set; }

        [BsonRepresentation(BsonType.String)]
        public PerformanceType PerformanceType { get; set; }

        [BsonRepresentation(BsonType.Double, AllowTruncation = true)]
        public int Rank { get; set; }

        public double Percentile { get; set; }
    }
}
